const Mock = require('mockjs')
module.exports = () => {
  const data = Mock.mock({
    'cartData|50': [
      {
        'id|+1': 1,
        goodsName: 'iphone 13' + '@name',
        img: '@image(150x200, @color(), @city(true))',
        count: '@integer(1, 100)',
        price: '@integer(10, 200)',
        checked: false,
        createTime: '@date()',
      },
    ],
  })
  return data
}
